#include<iostream>
#include<vector>
#include<assert.h>
#include"RBTree.h"

using namespace std;

void TestRBTree1()
{
  RBRree<int,int> t;
  int a[] = {16, 3, 7, 11, 9, 26, 18, 14, 15};
  for(auto e : a)
  {
    t.Insert({e, e});
  }
  t.InOrder();
  cout << t.IsBalance() <<endl;
}

int main()
{
  TestRBTree1();
  return 0;
}
